package cn.iocoder.yudao.module.erp.controller.admin.secstock.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ERP 二级库库存分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecStockPageReqVO extends PageParam {

    @Schema(description = "仓库编号", example = "20531")
    private Long warehouseId;

    @Schema(description = "部门id", example = "289")
    private String deptId;

    @Schema(description = "产品编号", example = "24552")
    private Long productId;

    @Schema(description = "产品名称")
    private String productName;

    @Schema(description = "产品单位")
    private String productUnit;

    @Schema(description = "产品分类编号", example = "24552")
    private Long productCategoryId;

    @Schema(description = "产品分类名称")
    private String productCategoryName;

    @Schema(description = "产品单位编号", example = "24552")
    private Long productUnitId;

    @Schema(description = "产品单位名称")
    private String productUnitName;

    @Schema(description = "产品规格")
    private String productStandards;

    @Schema(description = "产品单价", example = "27223")
    private BigDecimal productPrice;

    @Schema(description = "产品批次")
    private String productBatch;

    @Schema(description = "入库批次")
    private String inboundBatch;

    @Schema(description = "有效期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] productValidityDate;

    @Schema(description = "库存数量", example = "30957")
    private BigDecimal count;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "查询类型")
    private Integer queryType;

}